package nc.tb.pub;

import nc.tb.dim.DimDef;

public class DimTypeFilter implements IDimType {

	public static boolean isDimDefAllowMultiView(DimDef dd) {
		if (dd == null)
			return false;
		String t = dd.getType();
		if (ENTITY.equals(t))
			return true;
		if (MEATRICS.equals(t))
			return true;
		if (USER.equals(t))
			return true;
		if (OBJENTITY.equals(t))
			return true;
		return false;
	}
}
